package com.spa.application.command.common.rule;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 规则参数
 *
 * @author lig
 * @since 2024-03-26
 */
@Data
public class RuleAddCommand {
    
	private Integer type;

	private Integer flag;

	@NotBlank(message = "规则值必填")
	private String val;

	private Integer serial = 1;

	/** 指标列表 */
	private List<KpiAddCommand> kpiList;

}
